package com.openlab.service.moveCar.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.openlab.service.moveCar.dto.Detail;
import com.openlab.service.moveCar.dto.Info;
import com.openlab.service.moveCar.dto.ListDto;
import com.openlab.service.moveCar.eneity.MoveCar;
import com.openlab.service.moveCar.mapper.MoveCarMapper;
import com.openlab.service.moveCar.service.MoveCarService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MoveCarServiceImpl extends ServiceImpl<MoveCarMapper, MoveCar> implements MoveCarService {
    @Override
    public Info detailInfo(Long id, Long community_id) {
        return baseMapper.detailInfo(id,community_id);
    }

    @Override
    public List<ListDto> getList(Long community_id) {
        return baseMapper.getList(community_id);
    }

    @Override
    public Detail getDetail(Long id, Long community_id) {
        return baseMapper.getDetail(id,community_id);
    }
}
